package test.day12.test25;

class Animal {
    public static int get(int n) {
        return n + 10;
    }

    public int see(int n) {
        return n + 10;
    }
}

class Dog extends Animal {
    public static int get(int n) {
        return n * 10;
    }

    public int see(int n) {
        return n * 10;
    }
}

public class E {
    public static void main(String args[]) {
        Animal animal = null;
        animal = new Dog();
        System.out.printf("%d:%d", animal.get(10), animal.see(10)); //【代码】
    }
}
